WcGetnet\Services\WcGetnetApi A

Total Complexity 51
Dependencies 7
Dependents 7
Total lines 363
Lines of code 223
Logical lines of code 101
Comment lines 63
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
get_webhook_args()
S
51 7 28
is_valid_payment()
S
54 6 21
get_header()
S
54 6 20
check_api_credentials()
S
62 4 13
logs_enabled()
S
62 4 11
send_request_post()
S
55 3 20
send_request_post_v2()
S
55 3 20
process_webhook()
S
67 4 7
process_another_types()
S
60 3 13
build_admin_message_api_credentials_if_empty()
S
65 2 11
get_order_by_billet_id()
S
55 1 21
process_billet_payment_step_2()
S
64 2 9
getDefaultResponse()
S
65 1 9
getAntifraudCode()
S
75 1 4
get_selected_environment()
S
80 1 3
get_environment_url()
S
75 1 4
check_payment_type()
S
79 1 3
__construct()
S
69 1 6